func runtime.readgstatus

44 uses

	runtime (current package)
		heapdump.go#L357: 	dumpint(uint64(readgstatus(gp)))
		heapdump.go#L412: 		status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
		mfinal.go#L333: 		empty = empty && readgstatus(fing) == _Gwaiting && fing.waitreason == waitReasonFinalizerWait
		mgcmark.go#L138: 				"status", readgstatus(gp),
		mgcmark.go#L207: 		status := readgstatus(gp) // We are not in a scan state
		mgcmark.go#L220: 			selfScan := gp == userG && readgstatus(userG) == _Grunning
		mgcmark.go#L837: 	if readgstatus(gp)&_Gscan == 0 {
		mgcmark.go#L838: 		print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
		mgcmark.go#L842: 	switch readgstatus(gp) &^ _Gscan {
		mgcmark.go#L844: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mgcmark.go#L849: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		mprof.go#L1430: 		if readgstatus(fing) != _Gdead && !isSystemGoroutine(fing, false) {
		mprof.go#L1499: 	if readgstatus(gp1) == _Gdead {
		mprof.go#L1554: 	if readgstatus(gp1) == _Grunning {
		mprof.go#L1589: 		return gp1 != gp && readgstatus(gp1) != _Gdead && !isSystemGoroutine(gp1, false)
		panic.go#L1468: 	status := readgstatus(gp)
		preempt.go#L106: 	if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
		preempt.go#L123: 		switch s := readgstatus(gp); s {
		preempt.go#L265: 	switch s := readgstatus(gp); s {
		preempt.go#L344: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		proc.go#L424: 	status := readgstatus(gp)
		proc.go#L662: 	if readgstatus(gp) == _Gidle {
		proc.go#L902: 	print("runtime:   gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
		proc.go#L903: 	print("runtime: getg:  g=", thisg, ", goid=", thisg.goid, ",  g->atomicstatus=", readgstatus(thisg), "\n")
		proc.go#L1041: 	status := readgstatus(gp)
		proc.go#L1127: func readgstatus(gp *g) uint32 {
		proc.go#L3184: 	status := readgstatus(gp.m.lockedg.ptr())
		proc.go#L4167: 	status := readgstatus(gp)
		proc.go#L4220: 	status := readgstatus(gp)
		proc.go#L5073: 	if readgstatus(newg) != _Gdead {
		proc.go#L5200: 	if readgstatus(gp) != _Gdead {
		proc.go#L6031: 		s := readgstatus(gp)
		proc.go#L6469: 		print("  G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=")
		signal_unix.go#L768: 		if crashing.Load() > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		stack.go#L1049: 		print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
		stack.go#L1173: 	if traceEnabled() && readgstatus(gp)&^_Gscan == _Gwaiting && gp.waitreason.isWaitingForSuspendG() {
		stack.go#L1187: 	if s := readgstatus(gp); s&_Gscan == 0 {
		trace.go#L395: 				ug.status = readgstatus(s.g) &^ _Gscan
		traceback.go#L840: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		traceback.go#L1199: 	gpstatus := readgstatus(gp)
		traceback.go#L1266: 		if gp == me || gp == curgp || readgstatus(gp) == _Gdead || isSystemGoroutine(gp, false) && level < 2 {
		traceback.go#L1275: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
		tracestack.go#L50: 		status := readgstatus(gp)
		tracestatus.go#L103: 		if w.mp.p.ptr() == pp && w.mp.curg != nil && readgstatus(w.mp.curg)&^_Gscan == _Gsyscall {